﻿@model NOSDC.Pocos.Job
@section Title
{
    Jobs - @Model.Employer - @Model.Title
}
@section MetaTags{ }


@if(Model.Id != 0)
{
<div class="job">
    <div style="color:#236B8E;width:100%; height:25px;border-bottom:1px solid #AAA;">
        <div style="float:left; font-weight:bold; font-size:18px;">@Model.Employer - @Model.Title</div>
        <div style="float:right; font-size:12px; font-style: italic;">@Model.DatePosted.ToLongDateString()</div>
    </div>
    <div style="margin-top:5px;"><strong>Position</strong>: @Model.Title</div>
    <div style="margin-top:5px;"><strong>Salary</strong>: @(String.IsNullOrWhiteSpace(Model.Salary) ? "Negotiable" : Model.Salary)</div>
    <div style="margin-top:5px;"><strong>Location</strong>: @Model.Location</div>
    <div style="margin-top:5px;"> @Html.Raw(Model.Description)</div>
    <div style=" font-size:9px; color:#aaa; margin-top:5px;">Expires on @Model.DateExpires.ToLongDateString()</div>
    <div style="color:#236B8E; text-align:center; margin-top:25px; font-size:9px; padding-bottom:25px;font-weight:bold;">If this job posting belongs to you and has not been posted with your consent, please @Html.ActionLink("contact us.", "ContactUs", "Home", null, null)</div>
</div>
}
else
{
    <div style="height: 100px; vertical-align: middle; text-align: center; line-height: 100px; color: #236B8E; font-weight: bold; font-size: 16px;">
        This job posting is no longer available.
    </div>
}

@section Right
{
    @{
        Html.RenderAction("GetUpcomingEvent", "Events");
    }
}

@section JavaScript{
    <script src="../../Scripts/comments.js" type="text/javascript"></script>
    <script type="text/javascript">
        $("#Jobs").addClass("selected");
    </script>
}